#include <iostream>
#include <boost/shared_array.hpp>
void test_shift(){
	std::cout << "sizeof(long)" << sizeof(long) << std::endl;
	std::cout << "sizeof(long long)" << sizeof(long long) << std::endl;
	long long a = 1;
	long long b = a << 4;
	std::cout << b << std::endl;
	long long BigOne = 0x1234567890ABCDEF;
	int LowerHalf = BigOne & 0xFFFFFFFF;
	int UpperHalf = (BigOne >> 32) & 0xFFFFFFFF;
	std::cout << "LowerHalf: " << std::hex << LowerHalf << std::endl;
	std::cout << "UpperHalf: " << std::hex << UpperHalf << std::endl;
}

